<?php
//检测magic_quotes_gpc变量，必须为magic_quotes_gpc=Off
if (get_magic_quotes_gpc()){
    exit("A property error in php.ini has been detected. You are advised to repair it.");
}
//检测arg_separator.output变量，必须为arg_separator.output='&'
if (ini_get('arg_separator.output') == '&amp;'){
    exit("A property error in php.ini has been detected. You are advised to repair it.");
}
//定义站点根目录
set_include_path(dirname(__FILE__));
//定义项目名称和路径
define('APP_NAME', 'App');
define('APP_PATH', './App/');
//加载框架入口文件
require( "./ThinkPHP/ThinkPHP.php");
